import random

print("看能不能发完")
num1 = 10000
num2 = 1
while num1 > 0 | num2 <= 20:
    num3 = random.randint(1, 10)
    print(f"{num2}号员工，绩效是{num3}")
    if num3 < 5:
        print(f"{num2}号员工绩效低于考核值，没有奖金")
        num2 += 1
        continue
    else:
        print(f"{num2}号员工绩效合格，得到奖金1000元")
        num1 -= 1000
        num2 += 1
    if num1 == 0:
        print("奖金已经发完了，剩下的员工不好意思了")
        break
